import Mock from 'mockjs'

// 数据
import homeApi from './mockData/home.js'

import userApi from './mockData/user.js'
// 拦截请求
Mock.mock(/home\/getTableData/,homeApi.getHomeData)


// 获取user数据
Mock.mock(/user\/getUser/,'get',userApi.getUserList)